﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.SqlClient;
using System.Configuration;
using System.Collections.Specialized;
using System.Web.UI.WebControls;
using System.Xml.Linq;
using Anthony.Library;
using System.Net.Mail;
using System.Text;
using Formsy.Common;
using Formsy.Config;

namespace Formsy.Providers.PrePopulate
{
    public class StandardProvider : PrePopulateProvider
    {
        public override void Initialize(string name, NameValueCollection config)
        {
            base.Initialize(name, config);
        }



        public override void PrePopulate(List<FormField> formFields, XElement parameters)
        {
            //foreach (var f in formFields)
            //{
            //    if (f.Type == ControlType.TextBox)
            //    {
            //        ((TextBox)f.Control).Text = "this is prepopulated";
            //    }
            //}
        }
    }
}
